package com.phiture.erp.basic.dal.mapper;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.phiture.erp.basic.dal.entity.ErpUserProcessMappingDO;
import com.phiture.erp.basic.dal.pojo.vo.ErpUserProcessMappingRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 人员工序对照 Mapper
 *
 * @author lekaihuai
 */
@Mapper
public interface ErpUserProcessMappingMapper extends BaseMapperX<ErpUserProcessMappingDO> {

    IPage<ErpUserProcessMappingRespVO> selectMyPage(
            IPage<ErpUserProcessMappingRespVO> page,
            @Param("userId") Long userId,
            @Param("processId") Long processId,
            @Param("tenantId") Long tenantId
    );

}